package com.zhaoyun.ledsdk.serial;


import android.content.Context;

/**
 * Created by suche on 2017/11/3.
 */

public class ChargeSerialController extends ChargeSerialHelper implements IChargeSerial{

    public static final String TAG = "ChargeSerialController";

    public ChargeSerialController(Context context) {
        super(context, 1);
    }

    @Override
    public void closePort() {
        closeComPort();
    }

    @Override
    public void openPort() {
        openComPort();
    }

    @Override
    public void openCharge(int index) {
        opneChargeSeial(index);
    }

    @Override
    public void setListener(LuminanceListener luminanceListener) {
        setLuminanceListener(luminanceListener);
    }
}
